package zut.edu.cs.network.thread.yield;

public class Main {

	public static void main(String[] args) {
		YieldRun t = new YieldRun();
		Thread t1 = new Thread(t, "高级");
		t1.setPriority(10);
		System.out.println(t1.getPriority());
		
		Thread t2 = new Thread(t, "低级");
		t2.setPriority(1);
		System.out.println(t2.getPriority());
		
		t2.start();
		t1.start();
		
	}

}
